package com.flyco.modules.returns.service;

import com.flyco.common.api.vo.Result;
import com.flyco.modules.pms.entity.PmsProduct;
import com.flyco.modules.returns.entity.OmsOrderReturnApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flyco.modules.returns.entity.OrderReturnApproveDTO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Description: 申请退换货
 * @Author: flyco
 * @Date: 2023-08-01
 * @Version: V1.0
 */
public interface IOmsOrderReturnApplyService extends IService<OmsOrderReturnApply> {

    List<PmsProduct> getOrderReturnProductList(Long storeId, String name);

    Result<?> logisticsApprove(OrderReturnApproveDTO returnApproveDTO);

    Result<?> inspectionApprove(OrderReturnApproveDTO returnApproveDTO);

    Result<?> orderManagerApprove(OrderReturnApproveDTO returnApproveDTO);

    Result<?> financeApprove(OrderReturnApproveDTO returnApproveDTO);

    Result<?> returnPreApprove(OrderReturnApproveDTO returnApproveDTO);
}
